package org.webrtc.mqttclientsample;

public class Message {

	private int id;
	private String from;
	private String to;
	private String content;
	private MessageType type;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	public String getTo() {
		return to;
	}
	public void setTo(String to) {
		this.to = to;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	

	public MessageType getType() {
		return type;
	}
	public void setType(MessageType type) {
		this.type = type;
	}



	public static enum MessageType
	{
		CHAT,LOGIN,PHONE;
	}
}
